Intermediate Value Linearizability: A Quantitative Correctness Criterion

نویسندگان

چکیده

Big data processing systems often employ batched updates and sketches to estimate certain properties of large data. For example, a CountMin sketch approximates the frequencies at which elements occur in stream, counter counts events batches. This paper focuses on correctness criteria for concurrent implementations such objects. Specifically, we consider quantitative objects, whose return values are from an ordered domain, with particular emphasis (ϵ, δ )-bounded objects that numerical quantity error most ϵ probability least 1 − . The de facto criterion is linearizability. Intuitively, under linearizability, when read overlaps update, it must object’s value either before update or after it. Consider, single increment operation three new events, bumping counter’s 7 10. In linearizable implementation counter, overlapping this We observe, however, typical use cases, any intermediate between 10 would also be acceptable. To capture additional degree freedom, propose Intermediate Value Linearizability (IVL) , relaxes linearizability allow returning values, instance 8 example above. Roughly speaking, IVL allows reads bounded two legal A key feature can prove themselves )-bounded. illustrate power result, give straightforward efficient sketch, (albeit not linearizable). present four examples each showcasing different way using IVL. first simple wait-free O (1) step complexity update. next considers further shows how relax notion r -relaxation. Our third non-atomic iterator over structure. augment structure auxiliary history variable state includes “tombstones” items deleted Here, semantics required augmented level. Finally, priority queue show some require paired other criteria; indeed natural coupled sequential consistency. Lastly, inherently cheaper than ones. particular, lower bound Ω ( n ) single-writer multi-reader registers, more expensive our implementation.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Quasi Serializability: A Correctness Criterion for InterBase

In h i s paper, we introduce Quasi Serializability, a correctness criterion for concurrency control in heterogeneous distributed database environments. A global history is quasi serializable if it is (conflict) equivalent t o a quasi serial history in which global transactions are submitted serially. Quasi serializability theory is an extension of serializability. We study the relationships bet...

متن کامل

Shape-Value Abstraction for Verifying Linearizability

This paper presents a novel abstraction for heap-allocated data structures that keeps track of both their shape and their contents. By combining this abstraction with thread-local analysis and relyguarantee reasoning, we can verify a collection of fine-grained blocking and non-blocking concurrent algorithms for an arbitrary (unbounded) number of threads. We prove that these algorithms are linea...

متن کامل

A correctness criterion for asynchronous circuit validation and optimization

We propose a new relation C called strong conformance in the context o f Dill's trace theory [1], and define B C A to be true exactly when B conforms to A and the success set o f B contains the success set o f A. When B O A , module B operated in module A's maximal environment AM (i.e. B || A ) exhibits all the traces that A || AM exhibits. In addition, if A has a success trace x, B can have ad...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Journal of the ACM

سال: 2023

ISSN: ['0004-5411', '1557-735X']

DOI: https://doi.org/10.1145/3584699